var app = getApp(),
  $ = require("../../utils/httpHelper.js")
var wxParse = require("../../wxParse/wxParse.js")
Page({
  data: {
    info: {},
    userInfo: {},
    size:['1','2','3','4','5']
  },
  onShareAppMessage: function (res) {
    app.shareApp(res)
  },
  onLoad: function (options) {
      $.httpPost("about", { }, (data, err) => {
        this.setData({
          info:data.data
        })
        wxParse.wxParse("about", "html", data.data.about.content, this)
        
      })
    
    
  },
  callphone(e){
    let num = e.currentTarget.dataset.num
    wx.makePhoneCall({
      phoneNumber: num
    })
  },
  tolist(e){
    let id = e.currentTarget.dataset.id
    let name = e.currentTarget.dataset.name
    wx.navigateTo({
      url: '/pages/pl/plist?id='+id+"&name="+name,
    })
  }
  
});